package com.jeecg.p3.system.service;

import com.jeecg.p3.system.entity.JwSystemRole;
import com.jeecg.p3.system.entity.Product;
import org.jeecgframework.p3.core.utils.common.PageList;
import org.jeecgframework.p3.core.utils.common.PageQuery;

import java.util.List;

/**
 * @program: jeewx-boot-parent
 * @description: 产品管理业务处理接口
 * @author: binbin
 * @create: 2020-09-21 09:16
 */
public interface ProductService {

    public void doAdd(Product product);

    public void doEdit(Product product);

    public void doDelete(Long id);

    public Product queryById(Long id);

    public PageList<Product> queryPageList(PageQuery<Product> pageQuery);

    public List<Product> find();
}
